Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
This parameter set to true will ask only for verifying vouchers' validation rules only against conditions applied to audiences' attributes (belonging into segment and Customer metadata)
The number of campaigns to be qualified. The maximum number is 50.
1 <= x <= 50
Sorts the results using one of the filtering options, where the dash -
means sorting in a descending order.
created_at
, -created_at
, updated_at
, -updated_at
, type
, -type
, code
, -code
, category
, -category
, campaign
, -campaign
Body
Request body schema for POST v1/campaigns/qualification
.
Customer's information. You can pass the unique customer ID that was assigned by Voucherify.
- Customer ID
- Customer Source ID
- Customer
Order information. This object enables you to pass purchase transaction data. Read what properties you can use in the <!-- [Order object reference](OpenAPI.json/components/schemas/OrdersUpdateResponseBody) -->Order object. You can pass the unique order ID that was assigned by Voucherify.
- Order ID
- Order Source ID
- Order Customer And Referrer Ids Objects
Response
This operation returns the list of valid and active campaigns based on the qualification of a given context (e.g., customer profile, redemptions metadata, order).<!-- [Read](https://docs.voucherify.io/docs/checking-eligibility-for-coupons)-->
Read about Qualification API limits before you start.
Response body schema for POST v1/campaigns/qualification
.
The type of the object represented by JSON. This object stores information about campaigns in a dictionary.
Identifies the name of the attribute that contains the array of campaign objects.
Contains array of campaign objects.
Total valid and active campaigns matching the qualification criteria in given context.
Unique qualification ID.
"qfl_dNZ3gWfKVNa8Zw15hn30uqdU"
Timestamp representing the date and time when the qualification was created. The value is shown in the ISO 8601 format.
"2023-04-04T13:13:03.119Z"
Hashed customer source ID.